package com.zhang.learns.jpa.repository;

import com.zhang.learns.jpa.entity.Users;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserRepository extends PagingAndSortingRepository<Users,Integer> {
    List<Users> findByFirstName(String firstName);
}
